import request from '@/utils/request'

//获取详情
export function getDetail (params:any){
  return request({
    url: '/menu/detail',
    method: 'post',
    data:params
  })
}
//删除
export function deleteList (params:any){
  return request({
    url: '/menu/delete',
    method: 'post',
    data:params
  })
}
//获取下拉数据
export function getSelectList (params:any){
  return request({
    url: '/menu/list',
    method: 'post',
    data:params
  })
}
//获取所有数据
export function getAllSelectList (params:any){
  return request({
    url: '/menu/alllist',
    method: 'post',
    data:params
  })
}